package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:04 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUIFormLayoutDataDAO
    extends IDataAccessInterface<ProductUIFormLayoutData, ProductUIFormLayoutDataDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_FORM_LAYOUT_DATA";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_FORM_LAYOUT_DATA.ID";

  /** Mapped Field FORM_FIELD_ID */
  static final String FormFieldId = "PRODUCT_UI_FORM_LAYOUT_DATA.FORM_FIELD_ID";

  /** Mapped Field NAME */
  static final String Name = "PRODUCT_UI_FORM_LAYOUT_DATA.NAME";

  /** Mapped Field VALUE */
  static final String Value = "PRODUCT_UI_FORM_LAYOUT_DATA.VALUE";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute formFieldId */
    static final String FormFieldId = "formFieldId";

    /** Attribute name */
    static final String Name = "name";

    /** Attribute value */
    static final String Value = "value";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUIFormLayoutData findById(final long id) throws Exception;
}
